
def expand(app):
    from libs.db.base import db
    db.init_app(app)
    with app.app_context():
        db.create_all()